package com.generic.person;

public class GenericD {

	public static void main(String[] args) {
		String[] aar = { "aa", "BB", "cc" };
		print(aar);
	}

	// 泛型方法 printArray
	public static <E> void print(E[] aar) {
		for (E e : aar) {
			System.out.printf("%s", e);
		}

	}

}
